package basic;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 二维码线条颜色
 *
 * @author gzkemays
 * @since 2021/12/13 19:26
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class QrCodeLineColor {
  Integer red;
  Integer green;
  Integer blue;

  public String getColor() {

    return "{\"r\":" + red + "\"g\":" + green + "\"b\":" + blue + "}";
  }
}
